#ifndef HESTORYEXPERIMENT_H
#define HESTORYEXPERIMENT_H

#include <QVariant>
#include <QVariantList>
#include <QObject>
#include <QDateTime>
#include <cmath>
#include <QFileDialog>

#include "xlsxdocument.h"
#include "dbHelper.h"


// 实验数据
class HistoryExperiment : public QObject
{

    Q_OBJECT

public:
    HistoryExperiment();

    Q_INVOKABLE QVariantList    getHistoryList(QVariantMap filter_line, QVariantMap filter_detail);
    Q_INVOKABLE QVariantList    getDetailList(QString expId, QVariantMap filter);

    Q_INVOKABLE int             datao(QVariantMap filter, QVariantMap filter_detail);          // 返回值: 0:失败 1:成功 2:用户取消导出

};

#endif // HESTORYEXPERIMENT_H
